package com.yuwei.module_visit.api

import com.bw.lib_common.api.BaseApiServer
import com.bw.lib_common.entity.Res
import com.bw.lib_http.Const
import com.yuwei.http.entity.AddVisitEntity
import com.yuwei.http.entity.VisitEntity
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface VisitApiService: BaseApiServer {
    @GET(Const.GET_VISIT_LIST_URL)
    suspend fun getVisitList() : Res<VisitEntity>
    @POST(Const.POST_ADD_VISIT_URL)
    suspend fun addVisit(@Body param : AddVisitEntity) : Res<AddVisitEntity>
}